﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControl_DataPager : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //if (!IsPostBack)
        //{
            Button1.Attributes.Add("onclick", @"javascript:__doPostBack('" + (this.Parent.Parent.Parent.Parent).UniqueID
              + "','Page$' + " + txtGoPage.UniqueID + ".value )");
            //OnClientClick='<%# "__doPostBack('" + ((GridView)Container.Parent.Parent).UniqueID + "','Page$'\+ " +txtGoPage.UniqueID + ".value )" %>'
        //}
    }


 
}
